package com.tenglong.iservice.service;

import com.tenglong.iservice.pojo.Service;
import com.tenglong.util.BaseResult;

import java.util.List;

/**
 * Created by Chen-D.W on 2018/5/24.
 */
public interface IserviceService {
    /**
     * 查服务
     * @param id
     * @return
     */
    BaseResult getUserServiceById(String  id,Long  flag);

    /**
     * 增
     */
    BaseResult addService(Service service);

    /**
     * 删
     */
    BaseResult removeServiceById(String id);

    /**
     * 改
     */
    BaseResult editService(Service service);

    List<Service> getService(String userid);
}
